<?php
header("Content-type: application/json");
require_once("class.persister.php");
$request_id=$_REQUEST['request_id'];
try{
$p= new persister();
$p->delete_request($request_id) ;
//echo json_encode(array("result"=>true));
echo "true";
}catch(Exception $e)
{
//echo($e->__toString());
//echo json_encode(array("result"=>false));
echo "false";
}
?>